package com.kly.pay;

import com.kly.PayTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PayController {
    @Autowired
    private PayTestService payTestService;

    @RequestMapping(value = "/queryPay")
    public String queryPay() {
        return payTestService.queryByPayId(123L);
    }
}
